package per.hx.bs.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import per.hx.bs.base.entity.WxBaseEntity;

/**
 * @author 胡兴
 * @since 2018-05-10
 */
@TableName("wx_user")
public class WxUserDO extends WxBaseEntity {

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 城市
     */
    private String city;
    /**
     * 国家
     */
    private String country;
    /**
     * 性别
     */
    private String gender;
    /**
     * 语言
     */
    private String language;
    /**
     * 微信名称
     */
    private String nickName;
    /**
     * 省份
     */
    private String province;

    /**
     * 微信用户id
     */
    private String openId;


    public WxUserDO() {
    }

    public WxUserDO(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Override
    public String toString() {
        return "WxUserDO{" +
                "userId=" + userId +
                ", city='" + city + '\'' +
                ", country='" + country + '\'' +
                ", gender='" + gender + '\'' +
                ", language='" + language + '\'' +
                ", nickName='" + nickName + '\'' +
                ", province='" + province + '\'' +
                ", openId='" + openId + '\'' +
                '}';
    }
}
